package com.hongpu.mapper;

import com.hongpu.domain.HpProjectWorkPayListReceivePayment;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Michael zhang
* @description 针对表【hp_project_work_pay_list_receive_payment(收款发票信息)】的数据库操作Mapper
* @createDate 2025-05-21 15:07:33
* @Entity generator.domain.HpProjectWorkPayListReceivePayment
*/
@Mapper
public interface HpProjectWorkPayListReceivePaymentMapper extends BaseMapper<HpProjectWorkPayListReceivePayment> {
    /**
     * 修改为不需要开票
     */
    public int invoiceNot(Long payListId);

    /**
     * 修改为需要开票
     * @param hpProjectWorkPayListReceivePayment
     * @return
     */
    public int invoice(HpProjectWorkPayListReceivePayment hpProjectWorkPayListReceivePayment);

    /**
     *  根据payListId查询开票信息
     * @param payListId
     * @return
     */
    public List<HpProjectWorkPayListReceivePayment> getListByPayListId(Long payListId);
}




